<%@ include file="/taglibs.jsp"%>

<head>
    <title><fmt:message key="addUserToGroupForm.title"/></title>
</head>

<p>Group information:</p>
  
<s:form name="assignUserForm" action="saveUserToGroup" method="post" validate="true">
<s:hidden name="group.id" value="%{group.id}"/>


<display:table name="users" class="table" requestURI="" id="userList"  pagesize="10">
    <display:column property="username" titleKey="user.username" escapeXml="true"/>
    <display:column sortable="true" titleKey="user.firstName" property="firstName"/>
    <display:column sortable="true" titleKey="user.lastName" property="lastName"/>
</display:table>
<tr>
    <td colspan="2">
    	<button type="submit" class="button" name="save" onclick="this.blur()" >
			<fmt:message key="button.save.title"></fmt:message>
			<img src="${ctx}/images/btn_save.png" align="left" height="20" width="20">
		</button>
        <button type="submit" class="button" name="cancel" onclick="form.onsubmit=null"">
			<fmt:message key="button.cancel.title"></fmt:message>
			<img src="${ctx}/images/btn_cancel.png" align="left" height="20" width="20">
		</button>
		
    </td>
</tr>

</s:form>

